package housekeeping.mapper;

import housekeeping.pojo.UserAccounts;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @version 1.0
 * @Author Du
 * @Date 2025/7/7
 * @注释 用户登录数据访问层
 */
@Mapper
public interface UserLoginMapper {

    @Select("SELECT * FROM user_accounts WHERE account = #{account}")
    UserAccounts selectByAccount(String account);
}
